import { Injectable } from '@angular/core';
import {Repository,FrameContext} from '@farris/devkit';
@Injectable()
export class GztzSelectFrmControllerService {
  constructor(
    private frameContext: FrameContext
  ) {}

  /**
   * 选择点击事件
   * @remarks 
   * @returns 
   */
  toolBarItemClick(): any {
    // 当前的列表
    let standName ='gztzSelect-re7o-component'
    standName = standName + '_gztzselect_data-grid-component';
    let checkedlist = this.frameContext.appContext.componentManager.get([standName,'dataGrid']).checkeds
    this.frameContext.uiState.setPropertyValue('checkedList',checkedlist)
  }

  /**
   * 过滤已筛选
   * @remarks 
   * @returns 
   */
  filterChecked():any{
    
  }
}
